package com.supreme.studyserver.component.event;

import org.springframework.context.ApplicationEvent;

public class BlackHistoryEvent extends ApplicationEvent {

    private Object source;

    private String title;

    public BlackHistoryEvent(Object source, String title) {
        super(source);
        this.source = source;
        this.title = title;
    }

    @Override
    public Object getSource() {
        return source;
    }

    public void setSource(Object source) {
        this.source = source;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getTitle() {
        return title;
    }
}
